\`SCREEN2
\|LOTTO$PICKER
\~\~Welcome to the Lotto$Picker.   
\~\~This program uses the concept of selecting balls (as in numbered ping pong balls), as most lotto's do, to get a properly random selection of numbers for a lotto drawing.
\~\~This program will allow you to pick lotto balls (numbers) that are weighted in favor of the most picked numbers on any given day.  
\~\~This program will need two numbers to begin.  You will have to enter the number of balls that are in your lotto set.  In Colorado it is 6 {01,02,03,04,05,06}.   You will also have to enter the number pick range or domain of numbers to draw balls from.  In Colorado the lotto ball (number) is picked from a field domain of 42 numbers (1 to 42).
\~\~Finally, it may be your view that today's date or some special other date or key phrase may have a bearing on the quality of the balls picked.  So the program will 'Seed' the random number generator with today's date if you like and/or any other key date or phrase you wish to use. 
\~\~Pressing the [ENTER] key will start the ball selection process.  You will see a dedicated screen set up as follows.....
\~\~Top Left: 
\~Balls per Set and Domain of Ball Selection.  Current Ball Selected and a field were the balls are being assembled and sorted in to a set.
\~\~Center Left:
\~A real time list of the lotto sets selected that are duplicates or 'Multiple Hits'.  The set has been randomly selected more than once by the program.  There will be a number to the right of each set showing how many times the program has selected or 'Hit' that particular set of balls (numbers).  You might want to be aware that picking a higher number set of balls, say 7, from a larger domain of numbers, say 65, may not produce any duplication of selected sets for quite a while, but selecting a smaller set of balls, say 3, from a smaller domain of numbers, say 10, will yield set selection duplication very quickly.
\~\~Bottom Left:
\~A number representing the total number of possible sets that may be selected from this setting of Balls and Domain.  This number of maximum combinations loses accuracy at the higher ranges (over 100 million) due to rounding errors.  The second number is the number of remaining possible sets (or combination of balls) that have not been selected yet.  As a set is selected it is deducted from this total.  If there is a duplication of set selection then this number will not decrease.  So, as the possible number of sets decrease there will be more and more duplication and the remaining set combinations will decrease at a slower pace as more numbers are selected.  The remaining two numbers represent the total number of sets selected (duplicate or not) and the total number of multiple hits (sets selected more than once).
\~\~Right Side:
\~A number mask showing the ball counts by number of each ball selected as it is selected.  If your domain is 1-42 then the numbers will only appear in from 1 through 42.  Numbers higher will remain blank.
\~
\`NBRRANGE
\|NUMBER DOMAIN - RANGE OF NUMBERS
\~\~Domain Limits:.... 
\~Greater than 2 and Less Than or Equal to 80
\~\~Enter the upper domain number of the range of numbers you want to use for your selections
\~\~Example: Your particular domain range might be from 1 to 42.  Enter '42' for this range.
\`NBRDIGIT
\|NUMBER OF DIGITS
\~\~Set Number Limits:.....
\~Greater Than 0 and Less Than or Equal to 9
\~\~Enter the number of balls that exist in your lotto drawing.
\~\~Example: 04,05,15,22,40,42  would be 6 balls.
\`KEYTODATE
\|SYSTEM DATE (TODAY's DATE) KEY
\~\~Enter 'Y' if you want the program to pick numbers that are sensitive to your systems' date.  
\~\~This means that the random number generator will be 'Seeded' with your systems' {todays') date.
\`SEED
\|OPTIONAL KEY PHRASE OR DATE
\~\~Enter a Key Phrase or Date that you want to use to make the Lotto Ball (Number) selection sensitive to.  The random number generator will be 'Seeded' with what you enter here.
\`DEVICE
\|PRINT TO DEVICE
\~\~SCRN,DISK,COM1,COM2,LPT1,LPT2
\~\~Enter the print to device or [TAB] or [BACKTAB] to select then [ENTER]
\`PRNTPATH
\|PRINT TO PATH (IF DISK)
\~\~If you want to print to disk, then you must enter the location - disk drive\path\file name - on your disk to print to. 
\~\~Example: 'C:\\REPORT'
\`WORKDRIVE
\|WORKING DRIVE\\PATH
\~\|Example: [E:                     ]
\~\~The program creates some temporary working files on the fly.  Which 'Drive:\Path' should these working files be placed in?
\~\~Some considerations....
\~\~The files can take up some space so the more space on the hard disk the better and the faster the drive the better.   A large RAM Disk is best.
\`ENDOPT
\|LOTTO BALL SELECTION HALTED
\|- OPTIONS -
\~\~'1' View up to 18 of the best lotto number sets, at a time, based on multiple hits sorted by most number of hits down to least number of hits.  These are the sets where the same set or combination of lotto balls were selected more than once by the system.
\~\~    Example: The set of '02,04,15,22,32,38' may have been selected 5 times.  The second and subsequent sets will have been selected the same or less times, down to 18.  You may scroll down through the list if it is longer than one screen by using the down arrow or the page down key.
\~\~'2' View up to 18 of the best lotto number sets, at a time, based on multiple hits sorted by set order.  These are the sets where the same set or combination of lotto balls were selected more than once by the system.  You may scroll down through the list if it is longer than one screen by using the down arrow or the page down key.
\~\~    Example: The first set might be '02,04,15,22,' and the second set '02,05,16,26' and so on till all the sets are listed.
\~\~'3' View up to 18 of the best numbers, at a time, based on the most often selected balls.  These are the number sets constructed by this program using the most often selected balls.  You may scroll down through the list if it is longer than one screen by using the down arrow or the page down key.
\~\~    Example: The balls '4,6,12,18,21,35' may not have been picked as one contiguous set, but they were the top most often selected balls.  So this system will construct the lotto set '04,06,12,18,21,35' with the value of the top most often selected ball in the set.   The second and subsequent number sets will be based on balls selected less often.
\~\~'4' View selected balls in you specified domain, sorted from most picked to least picked.  
\~\~'C' Continue seleting lotto balls where you left off.
\~\~'P' Print your results
\~\~'H' This Help Screen
\~\~'S' Stop picking numbers and return to the start screen.
\`FORMFEED
\|FORM FEED OPTION
\~\~Enter Y if you want to have a form feed when your printing is done.  
\`MARGIN
\|MARGIN SETTING
\~\~Enter the number of spaces you want to indent your report from the left hand side of the paper
\`SPEED
\|BALL SELECTION SPEED
\~\~0=Full Speed.  As fast as your machine will go.
\~Any number from 1 to 999 will slow the ball selection process down if you wish.
\`Title
\|REPORT TITLE
\~\~Enter the Title you want your report to have.  This will be centered on you the top line of the page.
\`PRINTCODE
\|PRINTER INITIALIZATION CODE
\~
\~THE LOTTO PICKER will send 'ESC-@' as generic initialization code to the printer.  If your printing application requires a different code being sent to your printer then place the code here.
\~
\~The format is as follows:
\~@27x/@27x/.../@27x
\~The '@27' is an ESC sequence and the 'x' representing the ASCII string to be sent following the 'ESC' sequence.  You may string multiple code sequences together by separating each with an "/" character.  The '@27' may be substituted with 'ESC' or '^[[' whichever you prefer.
